package com.gdc.microservicecloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Description: Eureka 客户端 启动类
 *
 * - @EnableEurekaClient                Eureka 客户端 注解
 * - @EnableDiscoveryClient             Eureka 服务发现 注解
 * - @EnableCircuitBreaker              开启对 hystrix 熔断机制的支持
 *
 * @author: gdc
 * @date: 2021/1/24
 * @version 1.0
 */
@EnableCircuitBreaker
@EnableEurekaClient
@SpringBootApplication
public class MicroservicecloudProviderDeptHystrix8001Application {

    public static void main(String[] args) {
        SpringApplication.run(MicroservicecloudProviderDeptHystrix8001Application.class, args);
    }

}
